package com.rest.response;

import java.util.ArrayList;

/**
 * @Description: 耗材模型 本地对服务器返回的数据处理一下 同一个orderId的耗材放在同一个数组中
 * @Author: lzp
 * @CreateDate: 2022/4/9 13:56
 * @UpdateRemark: 更新说明
 */
public class MaterialBean {
    private long consumeId;
    private String orderNumber;
    private long appointmentId;
    private long orderId;
    private int type;
    private int orderStatus;
    private String orderAmount;

    private ArrayList<Item> items;

    public String getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(String orderAmount) {
        this.orderAmount = orderAmount;
    }

    public long getConsumeId() {
        return consumeId;
    }

    public void setConsumeId(long consumeId) {
        this.consumeId = consumeId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public long getAppointmentId() {
        return appointmentId;
    }

    public void setAppointmentId(long appointmentId) {
        this.appointmentId = appointmentId;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public ArrayList<Item> getItems() {
        return items;
    }

    public void setItems(ArrayList<Item> items) {
        this.items = items;
    }

    public static class Item {
        private String consumables;
        private int number;

        public String getConsumables() {
            return consumables;
        }

        public void setConsumables(String consumables) {
            this.consumables = consumables;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }


    }
}
